import request from '../utils/request'
import type{Api_Response_Dto} from '../dto/response/Api_Response_Dto'

export const logins=(obj:{account:string,password:string;}):
Promise<Api_Response_Dto>=>{
    return request({
        url:"api/login/logins",
        method:"post",
        data:obj
    });
}

export const check_login=():
    Promise<Api_Response_Dto>=>{
        return request({
            url:"api/login/check_login",
            method:"get"
        })
    }